目录列表程序‘index.php’ 单文件的PHP应用程序 | 您所在的位置:网站首页 › php列出目录文件列表 下载链接 › 目录列表程序‘index.php’ 单文件的PHP应用程序 |
[分享] 目录列表程序‘index.php’单文件的PHP应用程序 ---开源免费,特别适合网站图片展示. 官网地址:https://files.photo.gallery/ demo预览:https://files.photo.gallery/demo/ 配置:https://forum.photo.gallery/viewtopic.php?f=66&t=9964 ![]() ![]() ![]() 下载安装:https://cdn.jsdelivr.net/npm/files.photo.gallery/index.php 说明: 1)就一个index.php单文件。可以将其放置在服务器上的任何目录中,从而立即创建文件和文件夹的库。它支持所有文件类型,并允许您预览图像,视频,音频和代码。 2) 程序开源免费,功能完全免费使用不限制。未授权时每次打开会弹出授权窗口。当然也可以购买作者授权码。 3)需要PHP扩展安装: exif、fileinfo、GD、mbstring。 ---部分配置: // 目录配置 'root' => '', // root path relative to script. 'start_path' => false, // start path relative to script. If empty, root is start path --- // 账户登录 'username' => '', 'password' => '', // 填写参数开启,留空关闭 --- // 排除文件或者目录 'files_exclude' => '', // '/\.(png|jpe?g)$/i' /释:排除后缀png.jpeg.jpg 'dirs_exclude' => '', //'/\/MI8|\/doc|\/222(\/|$)/i' /释:排除目录MI8.doc.222 'allow_symlinks' => true, // allow symlinks 更多配置见官网说明:https://forum.photo.gallery --- ![]() |
今日新闻 |
推荐新闻 |
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 |